<?php
/******************************************************
v4 - Management Framework
Copyright (C) 2008  Gary Taylor, gMerc Incorporation
http://www.gmerc.com/v4/

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

gary@gmerc.com
******************************************************/
class index {
  function loaddata() {
    global $masterclass;
/*
    if (!isset($masterclass->allclasses['customers_func'])) { $masterclass->loadmodule('customers_func',$masterclass->mainconfig['sourcedirectory'].'customers/customers.func.php'); }
    if (!isset($masterclass->allclasses['personnel_func'])) { $masterclass->loadmodule('personnel_func',$masterclass->mainconfig['sourcedirectory'].'admin/personnel/personnel.func.php'); }
    if (!isset($masterclass->allclasses['links_func'])) { $masterclass->loadmodule('links_func',$masterclass->mainconfig['sourcedirectory'].'links/links.func.php'); }
    if (!isset($masterclass->allclasses['quicknotes_func'])) { $masterclass->loadmodule('quicknotes_func',$masterclass->mainconfig['sourcedirectory'].'quicknotes/quicknotes.func.php'); }
    if (!isset($masterclass->allclasses['calendar_func'])) { $masterclass->loadmodule('calendar_func',$masterclass->mainconfig['sourcedirectory'].'calendar/calendar.func.php'); }
    if (!isset($masterclass->allclasses['pager_func'])) { $masterclass->loadmodule('pager_func',$masterclass->mainconfig['sourcedirectory'].'pager/pager.func.php'); }

    $masterclass->websiteconfig['javascript_include'][]=$masterclass->mainconfig['sourcedirectory'].'quicknotes/quicknotes.js';
    $masterclass->websiteconfig['javascript_include'][]=$masterclass->mainconfig['sourcedirectory'].'calendar/calendar.js';
    $masterclass->websiteconfig['javascript_include'][]=$masterclass->mainconfig['sourcedirectory'].'pager/pager.js';
*/
    $masterclass->websiteconfig['title'].=' - Homepage';
  return;
  }
  function display() {
  global $masterclass;

?>
<table width="100%" cellpadding="2" cellspacing="5" border="0">
  <tr valign="top">
  <td width="100%">
DEFAULT FILE LOAD FROM SOURCE
</td></tr></table>
<?php

  return;
  }
}
?>